<?php 

foreach($list_pro as $product) {?>
<div class="product">
        <a href="<?php echo $baseURL;?>default/product/details/<?php echo $product['pro_id'];?>#cate" title="<?php echo $product['pro_info'];?>">
                <span class="title"><?php echo $product['pro_name'];?></span>
                <img src=<?php echo $product['pro_img_src'];?> alt="Images" height="150" width="180"/>
                <span class="number">Price: <del> <?php echo "$".$product['pro_price'];?></del></span>
                <span class="price"><span>Sale: </span><?php echo "$".$product['pro_sale'];?></span>
                
        </a>
    <div class="link">
        <a href="<?php echo $baseURL;?>default/product/details/<?php echo $product['pro_id'];?>#cate">Details</a> -- <a href="<?php echo $baseURL;?>default/shopping_cart/buy/<?php echo $product['pro_id'];?>#cate" class="buy">BUY NOW</a>
    </div>
</div>

<?php 
}
